Skip to content

Fix compilation issue after change to Subject interface in core and bump to 3.2.0#5423

Merged
shikharj05 merged 7 commits intoopensearch-project:mainfrom
cwperks:run-as-compile
Jun 23, 2025
Merged

Fix compilation issue after change to Subject interface in core and bump to 3.2.0#5423
shikharj05 merged 7 commits intoopensearch-project:mainfrom
cwperks:run-as-compile

Conversation

@cwperks
Copy link
Copy Markdown
Member

@cwperks cwperks commented Jun 21, 2025

Description

Fix compilation issue after change to Subject interface in core

Interface changed in opensearch-project/OpenSearch#18570 to use a CheckedRunnable to avoid throwing a generic Exception with using Callable.

This PR also renames a few classes for maintainability.

  • Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Maintenance

Check List

  • New functionality includes testing
  • New functionality has been documented
  • New Roles/Permissions have a corresponding security dashboards plugin PR
  • API changes companion pull request created
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Craig Perkins <cwperx@amazon.com>
cwperks added 2 commits June 21, 2025 09:50
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
@cwperks cwperks changed the title Fix compilation issue after change to Subject interface in core Fix compilation issue after change to Subject interface in core and bump to 3.2.0 Jun 21, 2025
cwperks added 4 commits June 21, 2025 10:01
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 21, 2025

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 72.42%. Comparing base (224eb2a) to head (24ee2a7).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...java/org/opensearch/sample/utils/PluginClient.java 50.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5423      +/-   ##
==========================================
- Coverage   72.42%   72.42%   -0.01%     
==========================================
  Files         394      393       -1     
  Lines       24292    24286       -6     
  Branches     3713     3714       +1     
==========================================
- Hits        17594    17588       -6     
- Misses       4868     4869       +1     
+ Partials     1830     1829       -1     
Files with missing lines Coverage Δ
...va/org/opensearch/sample/SampleResourcePlugin.java 96.77% <100.00%> (ø)
...actions/transport/SecurePluginTransportAction.java 87.50% <ø> (ø)
.../opensearch/security/OpenSearchSecurityPlugin.java 84.38% <100.00%> (-0.04%) ⬇️
.../org/opensearch/security/auth/UserSubjectImpl.java 91.66% <100.00%> (+0.75%) ⬆️
...nsearch/security/identity/SecurePluginSubject.java 100.00% <100.00%> (ø)
...java/org/opensearch/sample/utils/PluginClient.java 57.14% <50.00%> (ø)

... and 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shikharj05 shikharj05 merged commit 0d278b4 into opensearch-project:main Jun 23, 2025
117 of 125 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants